.class Lcom/example/m6wmr/ShopinActivity$2;
.super Ljava/lang/Object;
.source "ShopinActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/ShopinActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6wmr/ShopinActivity;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/ShopinActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/ShopinActivity$2;->this$0:Lcom/example/m6wmr/ShopinActivity;

    .line 103
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 105
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity$2;->this$0:Lcom/example/m6wmr/ShopinActivity;

    # getter for: Lcom/example/m6wmr/ShopinActivity;->et_name:Landroid/widget/EditText;
    invoke-static {v0}, Lcom/example/m6wmr/ShopinActivity;->access$0(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity$2;->this$0:Lcom/example/m6wmr/ShopinActivity;

    # getter for: Lcom/example/m6wmr/ShopinActivity;->et_phone:Landroid/widget/EditText;
    invoke-static {v0}, Lcom/example/m6wmr/ShopinActivity;->access$1(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity$2;->this$0:Lcom/example/m6wmr/ShopinActivity;

    # getter for: Lcom/example/m6wmr/ShopinActivity;->et_shopname:Landroid/widget/EditText;
    invoke-static {v0}, Lcom/example/m6wmr/ShopinActivity;->access$2(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity$2;->this$0:Lcom/example/m6wmr/ShopinActivity;

    # getter for: Lcom/example/m6wmr/ShopinActivity;->et_shopaddr:Landroid/widget/EditText;
    invoke-static {v0}, Lcom/example/m6wmr/ShopinActivity;->access$3(Lcom/example/m6wmr/ShopinActivity;)Landroid/widget/EditText;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    const-string v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 106
    :cond_0
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity$2;->this$0:Lcom/example/m6wmr/ShopinActivity;

    # getter for: Lcom/example/m6wmr/ShopinActivity;->context:Landroid/content/Context;
    invoke-static {v0}, Lcom/example/m6wmr/ShopinActivity;->access$4(Lcom/example/m6wmr/ShopinActivity;)Landroid/content/Context;

    move-result-object v0

    const-string v1, "\u8bf7\u5b8c\u5584\u5546\u5bb6\u8d44\u6599\uff01"

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 112
    :goto_0
    return-void

    .line 110
    :cond_1
    iget-object v0, p0, Lcom/example/m6wmr/ShopinActivity$2;->this$0:Lcom/example/m6wmr/ShopinActivity;

    # invokes: Lcom/example/m6wmr/ShopinActivity;->submit()V
    invoke-static {v0}, Lcom/example/m6wmr/ShopinActivity;->access$5(Lcom/example/m6wmr/ShopinActivity;)V

    goto :goto_0
.end method
